function getGoodPic(index){
	var Left = index*343;
	$("#good-li").css("left",Left+"px");
}
$(document).ready(function(){
	$("#good-li li img").mouseover(function(){
		var src = $(this).attr("src");
		$(".good-image-top img").attr("src",src);
		$("#images").attr("src",src);
	});
});

function getCount(str){
	var num = $(".good-content-ch input").val();
	if(str=="add"){
		num++;
	}else{
		num--;
		if(num<=1){
			num=1;
		}
	}
	$(".good-content-ch input").val(num);
}

function showTalkBox(){
	$("#gtalk").slideDown();
}

function sendTalk(){
	$("#gtalk").slideUp();
}
